package com.scud.model.system.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author vermouth
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Permission {
    private Integer id;
    private Integer parentId;
    private String name;
    private String component;
    private String value;
    //下级权限
    private List<Permission> children;
}
